package com.xly.poi;

import com.github.crab2died.converter.WriteConvertible;

public class BookStateWrite implements WriteConvertible{

	@Override
	public Object execWrite(Object object) {
		int tag = (Integer) object;
		//int tag = Integer.parseInt(object.toString());
		if(tag == 1) {
			return "下架";
		}
		if(tag == 0) {
			return "上架";
		}
		return null;
	}

}
